//
// Created by hjie on 23-6-24.
//

#pragma once

#include <string>
#include <cstring>
#include <rapidjson/document.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include "./../../../util/rapidjson_util.h"

#define header_k   "header"
#define msg_type_k "msg_type"
#define room_id_k  "room_id"
#define user_id_k  "user_id"
#define result_k   "result"
#define policy_k   "policy"
#define content_k  "content"

#define from_k     "from"
#define to_k       "to"

#define user_in_req_k       "user_in_req"
#define user_in_res_k       "user_in_res"
#define user_in_bcast_k     "user_in_bcast"

#define user_out_k "user_out"

#define publish_req_k    "publish_req"
#define publish_res_k    "publish_res"
#define publish_bcast_k  "publish_bcast"
#define publish_target_k "publish_target"

#define type_k "type"
#define sdp_k  "sdp"
#define sdp_type_k "sdp_type"
#define subscribe_user_id_k "subscribe_user_id"

#define subscribe_req_k "subscribe_req"
#define subscribe_res_k "subscribe_res"
#define subscribe_target_k  "subscribe_target"

#define ice_candidate_req_k "ice_candidate_req"
#define ice_candidate_target_k "ice_candidate_target"

#define heart_beat_k      "heart_beat"
#define timestamp_k       "timestamp"

#define user_list_k         "user_list"

#define get_publish_list_req_k "get_publish_list"
#define get_publish_list_res_k "get_publish_list"
#define publish_list_k         "publish_list"

#define ice_candidate_k       "ice_candidate"
#define candidate_target_k    "candidate_target"
#define candidate_k           "candidate"
#define sdpMid_k              "sdpMid"
#define sdpMLineIndex_k       "sdpMLineIndex"
#define usernameFragment_k    "usernameFragment"

#define send_answer_user_k    "send_answer_user"
#define send_answer_req_k     "send_answer_req"
#define send_answer_target_k  "send_answer_target"
#define candidate_list_k      "candidate_list"
#define candidate_type_k      "candidate_type"
#define subscribe_type_k      "subscribe_type"
#define publish_type_k        "publish_type"

#define publish_stream_req_k      "publish_stream_req"
#define publish_stream_res_k      "publish_stream_res"

#define get_publish_stream_status_req_k "get_publish_stream_status_req"
#define get_publish_stream_status_res_k "get_publish_stream_status_res"

#define status_k              "status"









